
public class Cat extends Animal implements Run, Jump{

	public Cat(String name, int weight, double price) {
		super(name, weight, price);
		
	}
	// pereopredeljaem metod raditelskogo klassa
	@Override
	public void say() {
		System.out.println("Meow");
	}
		
	// pereopredeljaem sna4enie move()
	@Override
	public void move() {
		System.out.println("I'd rather sleep");
		
	}
	@Override
	public void jump() {
		System.out.println(name + " is jumping now.");
		
	}
	@Override
	public void run() {
		System.out.println(name + " is running now.");
		
	}

}
